package com.pig.provide.http;

import com.pig.provide.netty.server.TextServer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lizhiwei
 */
@Configuration
public class GlobalConfig {
    @Bean
    public TextServer getTextServer() {
        return new TextServer(9001);
    }
}
